﻿
using System;
using System.Data;
using System.Data.SqlClient;
namespace Model
{
	
	/// <summary>	 
	/// 物流表
	/// </summary>
	public class DbDeliver
	{ 
		#region DbDeliver
		/// <summary>
		/// 
		/// </summary>
		public DbDeliver()
		{
		}
		/// <summary>	 
		/// 
		/// </summary>
		public DbDeliver(Int32 dId)
		{
			this.dId = dId;
		
		}
		/// <summary>	 
		/// 
		/// </summary>		
		public DbDeliver(DataRow dr)
		{
			int.TryParse(Convert.ToString(dr["dId"]),out dId);
			this.dCode = Convert.ToString(dr["dCode"]);
			this.dName = Convert.ToString(dr["dName"]);
			this.dUrl = Convert.ToString(dr["dUrl"]);
			this.dAPI = Convert.ToString(dr["dAPI"]);
			this.dFee = Convert.ToDecimal(dr["dFee"]);
			this.dStatus = Convert.ToInt16(dr["dStatus"]);
			
		}
		#endregion
		
		
		#region DId
		private Int32 dId;
		/// <summary>	 
		/// 
		/// AutoInc
		/// PK
		/// </summary>
		public Int32 DId
		{
			get{ return dId; }
			set{ dId= value; }
		}
		#endregion
		
		#region DCode
		private System.String dCode;
		/// <summary>	 
		/// 物流编号
		/// </summary>
		public System.String DCode
		{
			get{ return dCode; }
			set{ dCode= value; }
		}
		#endregion
		
		#region DName
		private System.String dName;
		/// <summary>	 
		/// 物流名称
		/// </summary>
		public System.String DName
		{
			get{ return dName; }
			set{ dName= value; }
		}
		#endregion
		
		#region DUrl
		private System.String dUrl;
		/// <summary>	 
		/// 物流官方站点
		/// </summary>
		public System.String DUrl
		{
			get{ return dUrl; }
			set{ dUrl= value; }
		}
		#endregion
		
		#region DAPI
		private System.String dAPI;
		/// <summary>	 
		/// API查询接口
		/// </summary>
		public System.String DAPI
		{
			get{ return dAPI; }
			set{ dAPI= value; }
		}
		#endregion
		
		#region DFee
		private Decimal dFee;
		/// <summary>	 
		/// 手续费
		/// </summary>
		public Decimal DFee
		{
			get{ return dFee; }
			set{ dFee= value; }
		}
		#endregion
		
		#region DStatus
		private Int16 dStatus;
		/// <summary>	 
		/// 状态
		/// </summary>
		public Int16 DStatus
		{
			get{ return dStatus; }
			set{ dStatus= value; }
		}
		#endregion

	}
}
